package com.rwcw.admin.config.engine;

import com.rw.engine.asynchronous.aspect.AsyncAspect;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 异步注解启动器
 */
@Configuration
public class AsyncConfig {
    // 注入切片
    @Bean
    public AsyncAspect getAsyncAspect() {
        return new AsyncAspect();
    }
}
